package com.lhl.fw.db.biz.domain.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.PrimaryKeyJoinColumn;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Entity
@Getter
@Setter
@NoArgsConstructor
//@DiscriminatorValue("rate")//区别的值是rate
@PrimaryKeyJoinColumn(name="hid")//把主键对应的列名改为hid
public class HourEmployee extends Employee{
	@Column(nullable=true)
	private Float rate;
}
